﻿using Newtonsoft.Json;
using ZilLion.Service.Core.Domain.EntityBase;

namespace ZilLion.Service.WeChatMall.Domain.Responses
{
    /// <summary>
    ///     根据Ip 获取City
    /// </summary>
    public class ClientCityResponse : ResponseBase
    {
        [JsonProperty("status")]
        public string Status { get; set; }

        [JsonProperty("info")]
        public string Info { get; set; }

        [JsonProperty("infocode")]
        public string Infocode { get; set; }

        [JsonProperty("province")]
        public string Province { get; set; }

        [JsonProperty("city")]
        public string City { get; set; }

        [JsonProperty("adcode")]
        public string Adcode { get; set; }

        [JsonProperty("rectangle")]
        public string Rectangle { get; set; }

        [JsonProperty("ipaddress")]
        public string IpAddress { get; set; }
    }
    public class RemoteCityResponse : ResponseBase
    {
        [JsonProperty("adcode")]
        public string Adcode { get; set; }

        [JsonProperty("name")]
        public string Name { get; set; }

        [JsonProperty("center")]
        public string Center { get; set; }
    }

    
}